package com.xxl.job.executor.service;

import com.xxl.job.executor.model.GatherMjModel;
import com.xxl.job.executor.repository.GatherMjRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: xxl-job
 * @description: 门禁
 * @author: XianJin.Lu
 * @create: 2021-09-07 10:41
 **/

@Service
public class GatherMjService {

    @Autowired
    GatherMjRepository gatherMjRepository;

    /**
     * 获取门禁配置信息 多个
     * @param gatherId
     * @return
     */
    public List<GatherMjModel> findGatherMjModelList(String gatherId){
        return gatherMjRepository.findGatherMjModelList(gatherId);
    }
}
